Replies: 2 comments 1 reply
-
There are many concrete use cases for built-in node properties, such as Viewport's size, TileMap's tile size, etc. It's better to have the editor clamp the value without spamming errors when you try to drag the size below 0 pixels 🙂 |
Beta Was this translation helpful? Give feedback.
1 reply
-
With the recent merge of godotengine/godot#77135, implementing this will become more complex, because changing a value now might move another value beyond its limits. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently
PROPERTY_HINT_RANGE
only works forint
andfloat
.It would be nice to have this functionality also for vectors.
An implementation example can be seen here (was initially intended as a now superseded bugfix):
https://github.com/Sauermann/godot/tree/proposal-editor-vector-greater-lesser
Creating this as a discussion, because I don't have an actual use-case.
Beta Was this translation helpful? Give feedback.
All reactions