Laggy game (at least 15 characters)

is it laggy because of the proximity? could someone help?

It doesn’t lag for me.

ur right, but my flashlight is doing something weird

I think I know the problem

The mouse move behavior is only getting the coordinates from the game size area so when you move out of the original area, the coordinates are still from the original area. (this probably doesn’t make sense)

make the flashlight around the player. not the mouse

Yeah. That is a way to do it. Have it always extract the player’s x and y and make it always follow it