7 lines
115 B
GDScript
7 lines
115 B
GDScript
@tool
|
|
extends CharacterBody2D
|
|
@export var invert : bool = false
|
|
|
|
func _process(delta):
|
|
$Sprite2D.flip_h = invert
|