Thank Blacksmith,
(Sorry for my poor English)
I am reference the limited movement capx,
but it have lot of bug of my game.... <img src="smileys/smiley11.gif" border="0" align="middle" />
I want to create Scope without extra object,
I change the expressions:
clamp(self.X,square.BBoxLeft+self.Width/2,square.BBoxRight-self.Width/2)
To
clamp(self.X,self.X-20,self.X+20),But it is not work
It is wrong at first(self.X)
How can I get the original X of object ?