Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | DoGot |
I don’t know how to word this in one sentence but I want to code something like this
if mouse_entered:
x = true
else:
x = false
GDScript: Ternary operator (a if cond else b)
https://forum.godotengine.org/5803/one-line-if-statements
rakkarage | 2020-07-23 01:59