using Godot; public class MoveNode : ProgramNode { public Vector3 startPosition; public Vector3 targetPosition; public MoveNode() { DisplayText = "Move"; } public override bool Execute(Robot robot) { robot.Position = targetPosition; if (nextNode != null) { return nextNode.Execute(robot); } else { return true; } } }