Godot Clamp Function