How can i use align orientation to only let a part look left or right

I have a part and I’d like it to only be allowed to look left and right?
ive been trying to use AlignOrientation for a while and Im struggling to do this

Is it possible to do this with alignOrientation or is there another way

1 Like

what do you mean look left or right

2 Likes

only rotatable on the green axis

rotatable by what in studio or when the games running

1 Like

while game’s running
ccccccccccc

use hinge constraint and set axis to (1,0,0) and make attachment0 the part

1 Like

sorry, where do i find axis