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