(4.0 Tween) Cast the given final value to the variable type when using tween_property
#5070
mieldepoche
started this conversation in
Scripting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Errors out because
scale.x
is a float and1
is an int.I don't know about other types (what "dangerous" castings can happen in a tween?), but in my example not failing would be cool. It is tedious and unintuitive to think about the actual type of the value.
Beta Was this translation helpful? Give feedback.
All reactions