How can i make a scene find a node even if its in another place
Im making a jump-pad that launches the player as soon as they enter its area the thing is idk how to alter the player velocity since its in another scene
Here's how my code for the jump pad looks like this:
Onready var Player = get_tree.get_root().find_node("Player")
func _on_throw_body_entered(body):
if body.is_in_group("Player"):
Player.Velocity.y = 100
Player.jumppadding = true
Again this is the script for an independent scene which is the jump pad i want it to find the player and change its velocity once they enter the area