How do I make a sliding door?

How do I make a sliding door? I want a door that slides to the side when you press a button, How would I make this

2 Likes

What kind of button? physical or ui

Put a click detector inside the button, make a function that activates upon pressing it and triggers something along the lines of this:

Physical, It uses Proximity prompt

What you should to is read their new tutorial and maybe examine their sample game. You would also need to understand how to use tweens.

1 Like

You can tween the door or use for loops (tweening is better) and use debounces to make sure it opens/closes

1 Like