Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to limit variable godot

#clamp(value, min, max)
num = clamp(num, 0, 3)
Source by godotengine.org #
 
PREVIOUS NEXT
Tagged: #limit #variable #godot
ADD COMMENT
Topic
Name
1+6 =