Is there a way to make the scale tool snap to grid?

Godot Version

v4.1.stable.mono.official [970459615]

Question

When I use the scale tool in the editor window, the scaling doesn’t snap to grid. Is there any way to make the scale tool snap to grid?

Here’s a video demonstration of what I’m talking about. Would’ve put this on the post itself but can’t since I’m a new user.

1 Like

Hello!

You can use the snapping scale if you press Ctrl while you are scaling, moving or rotating it in any axis.
If you need the snap to be always on, you can toggle on the icon that is on the top of the game viewport. Check the image below:

image

Note that the snap is not relative to the grid, but relative to the objects initial transform.

You can also snap using lower values if you press Ctrl + Shift while transforming your object.

Check the following table to see the snapping values of each method and each transform.

Transform Ctrl Ctrl + Shift
Position 1 0.1
Rotation 15 5
Scale 0.1 0.05

I hope it helps! :wink: :+1:

2 Likes

Is there a way to customize the snapping increments?

1 Like

You can set them up on the Transform drop down menu in the game viewport.

Captura de pantalla 2024-02-19 025342

2 Likes

I work using the 2D viewport and I don’t see the “Transform” option there. Sadly, such a luxury seems to be 3D-exclusive (I checked the 3D viewport and the Transform thing showed up. Went back to 2D and it disappeared).

Thanks for your help, though!

is something like this wanted?
image

image

2 Likes

That is not a 3D only feature as @EX74 mentioned and showed you in his reply. In fact there are some good tutorials to get started with the Godot viewport if you do an easy google (or any other search engine) search.
I will post a good tutorial I found just by searching in google “godot 4 snapping viewport tutorial”.

I hope it helps. And remember, Google is your friend when it comes to learning new stuff :wink: :+1:

1 Like

Tried adjusting the “scale step” option, scale tool does not snap to grid

As I mentioned in my first answer of this topic:

The snap will only add values 0.1 or 1 or 15 or 5 steps at a time, it just depends on your Configure snap settings.

1 Like