How to replace pow functions with ^

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

The operator is x ** y, the ^ operator is bitwise xor, see the documentation

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.