[Solved] I need help to making collision work in top-down game

Hello everybody,

I’m new to GDevelop and I’m having trouble setting up the collision between the player and other objects. I will make a game with a top-down view.

First I have create and configure the player’s behavior with TopDownMovement and standard controls. After that, I created an object called obstacle. In the scene, I added the action of selecting the player, separating the objects and selecting the obstacle, the result of the action is in the following image.

But when I tested the game, the collision didn’t work and the player passed through the obstacle.

Can someone help me? What does it need to work correctly?

I managed to discover the problem, I hadn’t configured the player’s collision masks. You can close the topic.