So I’m trying to make a thing but I need something to set a variable to something when it’s touching something and to change the variable when it’s not and idk how to do this
I have wondered the exact same thing.
I tried something like that but it doesn’t work. The variable can’t change it needs to stay the same while it’s touching something.
Maybe you could use a check once if block?
When it’s touching the object, set variable to “this”
Check once if variable=this
Repeat (however many times)
Set variable to “this”
i got it. I don’t remember how but it uses like ten variables
Yipes. Can you post it please? I need the code.
Here. There a slight delay but it’s as fas as I could make it
Nice nice nice I nominate it for featured!!!
That’s the code I gave you?!
No I used the idea of the code U gave me but I changed it because the code you gave doesn’t work for what I need
Not all the code is in the text
I am that’s why I asked how to do it
It’s an rpg. Working on the demo. Probably be out by monday
I see that you got it working, and that’s great! I am excited for the game that you are talking about!