Sliding left or right depending on which side: "Back or Front"

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    while vaulting through pallet i want it to slide left if is front while if it’s back slide to right
    vaulting through front will make sure you slide left.

  2. What is the issue? Include screenshots / videos if possible!
    the issue is i don’t know how to do it so you will slide in different ways for example say:
    a table:

side = {
 front = "slide_left"
 back = "slide_right"
}

right now it looks just like this:

sliding front.
example

sliding back.
example2
the pallet animation consist of sliding left.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

i fixed this before by using 1 animation that controls sliding left while other animation controlling sliding right but doing this is a waste; i want to know if there’s other way to do that

1 Like

Maybe you can check the part’s orientation

yeah… that worked but since i have to do different animations for generators too i’d rather create a table that handles different animation depending on each sides.
yeah i’d just combine both.