Sprite Behaviors: Bound by Layout & Solid
Block Behavior: Solid
I set the sprite's position to (Mouse.X, Mouse.Y) because I want the sprite to move purely by using the mouse. There's a specific area that I do not want the sprite to pass through, however, I cannot figure out how to prevent this from happening.
I tried to use this procedure even though it's for Construct Classic, and it worked somewhat until I realized that if I set my mouse pointer in the center area of the block, the sprite passes through the wall with ease.
Here's a small .capx as an example of my issue. Please & thank you!
&Solved! (Removed the .capx file)