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