0 votes

So I am making a game it's all dark and you have this little thing of light around you it's 2D and I have all the lights working including the torches but I need to know how to make it so if you press space and your standing on a torch you pick it up then if your holding the torch and you press enter you put it down where your standing. The way I want to do this is change the player node to a different one. What I mean by that is so I have two scenes and I want it so if your over a torch and you press space it hides the torch, and changes the player scene (without the torch) into one holding a torch and when you press enter it unhides the torch (in the players current location) and changes the player with the torch player scene into the one not holding the torch. Could someone help me do this?

Godot version 3.3.2
in Engine by (50 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.