I’m very new to defold and coding in general as im only in college but i have been struggling over the past few days to respawn my player in the game that I am making.
I am trying to pass a message with this piece of code to the “playerScript” from “playerMovement”, so that when the message is sent, my player will be respawned. I’m sure this is a simple fix or theres a better way to go about it but does anyone have any idea what i should do?