|Topic was automatically imported from the old Question2Answer platform.
so i’m working on a platformer and i want to implement doors that you can hide in to avoid enemies. i would be able to do it myself but i want it so that the character has to be standing in from of the door when they press the input button, then it’ll only work. the problem is, i haven’t the foggiest clue how to code this
i’m relatively new to coding and everything and still haven’t had the time to get around to reading the godot engine documentation in full so that might be part of the reason i don’t know how to code this particular part of my project.
anyway, here’s the code i have going on right now, that does not work.