Please. Need help from expert. Menu issue.

Hi, Sorry for the wall of text...
I've been working hard on a slide menu but i have one damn issue i can't fix at the moment. I'm going to try to explain it as good as i can.
Let me start of what's working:
I have a camera actor and a dragger actor and have them both visible. Sliding to the right (menu moving right following my dragger) works perfectly and i have a attribute that trigger and snaps it to it's place after 0.3 seconds for 0.2 seconds. As i said, If i slide to the right my dragger follow smoothly my "select world" boxes.
The problem is.
If i slide my dragger to the left it won't run smoothly and just stops making my camera just stop as well a.k.a snap to its closest place without any time delay nor animation, it just jump asap.
I don't think it's any problem with my camera, it has:
actor receive event - mouse button is down
change attri self.position.x game.mouse.positionx
constrain attri self.motion.linear velocity.x 10*(game.mouse.position.x - selfpos... etc etc)
Not sure this will help at all, but one thing i noticed is if i change my timer on:
FOR: 0.3 seconds V run to complete
scene.dragger.dragger.motion. linear velocity.x to 0
If i change the FOR: to AFTER, i get the same effect at both sides.
Would love to get some feedback / ideas because I'm fudging stuck.
Thanks!
BR
Powkie
I've been working hard on a slide menu but i have one damn issue i can't fix at the moment. I'm going to try to explain it as good as i can.
Let me start of what's working:
I have a camera actor and a dragger actor and have them both visible. Sliding to the right (menu moving right following my dragger) works perfectly and i have a attribute that trigger and snaps it to it's place after 0.3 seconds for 0.2 seconds. As i said, If i slide to the right my dragger follow smoothly my "select world" boxes.
The problem is.
If i slide my dragger to the left it won't run smoothly and just stops making my camera just stop as well a.k.a snap to its closest place without any time delay nor animation, it just jump asap.
I don't think it's any problem with my camera, it has:
actor receive event - mouse button is down
change attri self.position.x game.mouse.positionx
constrain attri self.motion.linear velocity.x 10*(game.mouse.position.x - selfpos... etc etc)
Not sure this will help at all, but one thing i noticed is if i change my timer on:
FOR: 0.3 seconds V run to complete
scene.dragger.dragger.motion. linear velocity.x to 0
If i change the FOR: to AFTER, i get the same effect at both sides.
Would love to get some feedback / ideas because I'm fudging stuck.
Thanks!
BR
Powkie
Answers
/case closed.