6 lines
133 B
GDScript
6 lines
133 B
GDScript
extends Area2D
|
|
|
|
func _ready():
|
|
var screen_size = get_viewport_rect().size
|
|
position = Vector2(screen_size.x / 2, screen_size.y / 2)
|