Godot Version
Godot 4
Is ther are a way to replace pow() function with ^?
I want to use x^2 instead of pow(x,2) for my game
Godot 4
Is ther are a way to replace pow() function with ^?
I want to use x^2 instead of pow(x,2) for my game
The operator is x ** y
, the ^
operator is bitwise xor, see the documentation
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.