godot-plateformer/_player/states/idle.gd

9 lines
186 B
GDScript3
Raw Normal View History

2025-12-29 11:54:31 +08:00
extends LimboState
func _enter() -> void:
return
func _update(delta: float) -> void:
if Input.get_axis(&"move_left",&"move_right") != 0.0:
get_root().dispatch(self.EVENT_FINISHED)