I am trying to do HeartBeast Action RPG tutorial using C# and I'm stuck right here.
var GrassEffect = (PackedScene)GD.Load("res://Res/Effects/GrassEffect.tscn");
var grassEffect = GrassEffect.Instance();
var world = GetTree().CurrentScene;
world.AddChild(grassEffect);
grassEffect.GlobalPosition = GlobalPosition;
Last line gives me an error:
'Node' does not contain a definition for 'GlobalPosition' and no accessible extension method 'GlobalPosition' accepting a first argument of type 'Node' could be found (are you missing a using directive or an assembly reference?)