Variable isn't being read?

Hi!

I’m working on a very basic sliding door following some tutorials I watched. My issue is that while I can get my door to open (i.e. slide to a different position), I can’t then close it back to its original position.

I ran some print text tests and it seems like the variable (called DoorOpen?) isn’t ever updating to true and instead is remaining at its default false. I have no idea why that is. I’m using an almost identical set up for a swinging door elsewhere but not having this issue there.

Any help would be appreciated. Thanks!

Looks like you’re setting it to the very same value again:

image

Did you mean to do something along the lines of:

That fixed it. Thank you so much!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.