The camera does not move on the x-axis and on the y-axis further than 0

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ussderydmjr

The camera does not move on the x-axis and on the y-axis further than 0. In the editor, it is also impossible to move further than 0. That is, it is impossible to move to negative coordinates. How to disable it?

:bust_in_silhouette: Reply From: Miel

Hello,
I think you have to uncheck Editor Settings > Editors > 2D > Constrain Editor View.

:bust_in_silhouette: Reply From: Ussderydmjr

P.s: To move, use get_global_mouse_position(), not event position.