extends Control @onready var player = $"../../" @onready var velocNumb = $"Velocity" @onready var horzVeloc = $"HorzVeloc" @onready var vertVeloc = $"VertVeloc" @onready var addedVeloc = $"AddedVeloc" func _physics_process(delta): velocNumb.text = "Velocity: " + str(round(player.velocity.length())) horzVeloc.text = "Horizontal Velocity: " + str(round(abs(player.velocity.x))) vertVeloc.text = "Vertical Velocity: " + str(round(abs(player.velocity.y))) addedVeloc.text = "Added Velocity: " + str(round(abs(player.addedveloc)))