Collision mask,

how did you create a collision sprite that you cover the other sprite with, while remaining invisible

Hi, the old platformer example shows how to do that Old platformer - a game example from the GDevelop game making app | GDevelop

Basically you need these two events:


The hitbox has the platformer-object behavior.

I was talking about top down rpg

Well, you did not talk about any game genre at all, but the actual method is the same. I just mentioned the platformer behavior because it is the hitbox that is being moved with the keypresses and not the sprite object with the animation. In your case you would move the hitbox with the top down behavior or your custom controls.