6 lines
143 B
GDScript
6 lines
143 B
GDScript
extends Control
|
|
|
|
func _process(delta):
|
|
var origin = get_tree().root.get_viewport().canvas_transform.get_origin()
|
|
rect_position.x = -origin.x
|