Problems with mouse maze

So I´m trying to make a simple maze in which you have to mouve a mouse around a maze without touching the borders, or else the player will lose.
Something like this (Made by @Zach_DaQuack)
I have seen a post that uses borders on each part of the maze, but would it be possible to do it without borders? Is there any way to detect when the player´s mouse isn´t inside any of the maze´s frames?

No, you can’t if you don’t already have borders or positions and sizes of those borders

1 Like

Is that what you are trying to do?

1 Like

Yes but I would like to do that with multiple frames, so it would detect as game over when the player mouse isn´t on top of any part of the sweetspot of the maze

Why do you even need this script for?

Here is what I could do:

So I know how to do it with the border but I don’t have the borders, I have the area in which the mouse can move, and I’m trying to figure out how to detect when the player isn’t in any of the frames that make that area.

I hope this will help you:

1 Like

Yes, this is what I ended up doing. I also added a custom mouse that scales appropriately with the display’s resolution.