when i scale game mouse does not scale with frame

so when i scale the game to 1.6 the mouse can still go far away before it leaves the frame like this for ex:

¤ = mouse

FRAME if i don’t scale it and take outside screen it goes outside screen right away
###############

        #
                       ¤                          <--- OK!

###############

but mine does does

FRAME <-- scaled
¤ <— not ok and it has still not left the frame

############### <— frame end here

     ##
     ##                                            

###############

You should get into the habit of posting an MCVE that we can run to see what you’re talking about. As of now this is nowhere near enough information for us to even begin to guess at a solution.

Again, echoing what others have said in your other posts, you really might want to take a step back. It seems like you’re missing some fundamentals that are required for game development.

Firstly: We need some code to be able to figure it out , show us the scaling code and the mouse position calculation code , then we can begin to help you because this can be caused by a huge number of factors.

i made the window fullscreen instead to solve the problem worked to xD

Not really solving the problem, just a work around.

Like Icass said, if you want to resolve the problem completely we going to need some code.