Wicked-Depths/flip.gd

7 lines
115 B
GDScript3
Raw Normal View History

@tool
extends CharacterBody2D
@export var invert : bool = false
func _process(delta):
$Sprite2D.flip_h = invert