How can I modify this behavior so that I can only drag the actor a certain distance left or right. I want to set boundaries so that:
when the X of the actor is lined up with the left of the screen u can now longer drag any further right
when the right side of the actor (the width I suppose) hits the right side of the screen I can no longer drag left
The actor is wider than the screen and spawns at different random x coordinates within certain constraints.
Here is the behavior I'm working with, any help is appreciated: