How to move/scroll scene window in editor? (SOLVED)

I have a large scene (2560x1920) and I want to scroll my scene.
I can scale down / scale up my scene window. I can move objects in my scene windows (Scene/Move Tool). But I cannot scroll my scene window in editor. Is it a defold feature?

You can do it with Alt+Middle mouse button.

To be fair, I find this action quite complicated and difficult to find and as far as I know it can not be changed in the editor settings.

I use a Magic Mouse at home and haven’t discovered yet how to move the canvas without a middle button :frowning:

Cheers!

I don’t have a mouse, I work on notebook :sob:

I think I got it:

File->Preferences->Defold

Change MouseType to OneButton.

Now you can Move the canvas pressing Right Alt+Mouse Button.

You can still zoom with Ctrl+Mouse Button.

Cheers!

2 Likes

The combination Alt+Move Button doesn’t work on MacBook Air :sob:

Set Mouse Type in Defold preferences to One Button and then use Ctrl+Alt+Trackpad/Mouse click and drag to pan. Is that setup not working?

1 Like

Ctrl+Alt+Trackpad works! :smiley_cat:

1 Like

as cz_nikita noted Ctrl+Alt+Trackpad (drag gesture) works, but why not change it to something with only one button? Like Cmd+Trackpad??

If I am working on a larger scene I’d like to be able to scroll it back and forth without breaking my fingers. As an example of how inconvenient it might be try and press your pinky against your thumb a hundred times; whenever you feel strain - that’s how many minutes you can work within the editor if you have a large enough scene.

1 Like

Yes, a single keypress would be nice. @Erik_Angelin, @Ragnar_Dahlen, @Ragnar_Svensson, something for Editor 2 perhaps?

PS If you have a large scene and navigate to different game objects you could also potentially select the game object in the outline, use the Frame Objects menu option to pan and zoom to the selected object.

2 Likes

We will eventually go through all keybindings in the editor, added this case as a note.

1 Like