I noticed that you can create multiple collision masks for an object. I was wondering if you can use one of the masks on an object as a trigger? If so, how and where in the event sheet? Thanks!
As far as I know, the collision boxes on a sprite are all treated as one entity. You cannot refer to each individually, as they don’t have a unique identifier that’s accessible in the events.
The collision masks are tied to the animations and/or frames, so you can just use those conditions (animation by name or number, and current frame)
I tried this and sadly didn’t work. I was trying to simulate a mario block.
I see… Are you sure you need different collision masks anyway? They are such a pain to work with. For a Mario block I would just use the default square collision, and change the position when you bump it. Is that what you’re going for?