Invisible Walls & Mouse Cursor

Hi all,

I’m currently working on a cool soccer game and I have encountered an issue that only PC users face. So, basically when the player has the ball, he faces where his mouse it at. However, when it comes to being on the edge of the map, the invisible walls might interfere in the game.

How would I make it so the mouse ignores the invisible walls?

Thanks in advance.

Mouse.TargetFilter = (model or folder where the walls are inside)

1 Like