Maze

I have a maze game and want the user to move the object with mouse in the maze.

The object must not cross the walls of maze…

You’ll need to detect collisions with the walls. You can start by looking at the example I made to show Axis Aligned Bounding Box collision testing

You can find the example in the thread Drop, Bounce, Collide, Bounce? here in this forum.

~Cody

Can you share the link of your thread.

click on his user name then search his posts…

thanks buddy.