Why camera.screen_to_world got a wrong value?

Stars.zip (1.1 MB)

Here, the board_y is bigger then what should be?
any help, thanks

because you are using action.x and action.y but this is screen_to_world function, so action.screen_x and action.screen_y should be used

4 Likes