Sprite cant move if there is an object

Hello, Does anyone know how to make the sprite stop (cant) move if there’s an object in front of it? Like if in front of the sprite there is a tree, then it cant move forward, we have to move to another way.

You will need to create two type of sprites and then use Sprite 1 collides with Sprite 2 block you can change either it to stop or change its direction

Can you show me how? The blocks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.