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