clamp(n: number, min: number, max: number): number
Return a value clamped to an inclusive range of min and max.
Return a value clamped to an inclusive range of min and max.
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings