Godot Version
v4.3.stable.steam [77dcf97d8]
Question
var deathplane = $killzone.position.y
how do I put a node’s y position into a variable?
v4.3.stable.steam [77dcf97d8]
var deathplane = $killzone.position.y
how do I put a node’s y position into a variable?
Seems like that would work, do you get an error?
it says “Invalid access to property or key ‘position’ on a base object of type ‘null instance’.”
Your $killzone
might not be a child of this node or named something else. Could you show your scene tree?