rex_uid2prop
Introduction
Get/set properties (x,y,angle,opacity,private variable) by UID without picking first.
Get/set properties (x,y,angle,opacity,private variable) by UID without picking first.
Get properties by these expressions, put UID at first parameter.
- Position: "Expression:X", "Expression:Y".
- Angle: "Expression:Angle".
- Size: "Expression:Width", "Expression:Height".
- Opacity: "Expression:Opacity".
- Visible: "Expression:Visible"
- Image point: "Expression:ImgptX", "Expression:ImgptY". Put an image point name/index at second parameter.
- Private variable: "Expression:PV". Put an alias at second parameter. User need call "Action:Define alias" before, to define an alias referring to an instance variable of an object.
Get properties between instances.
- Distance between two instance: "Expression:DistanceTo".
- Angle from an instance to another: "Expression:AngleTo"
Actions to manipulate properties of an instance by UID
Sample capx
These actions could manipulate properties of an instance by UID
Sample capx
These actions could manipulate properties of an instance by UID
- Action:Destroy instance by UID
- Action:Set X, Action:Set Y, Action:Set position, Action:Set position to another object, Action:Move forward, Action:Move at angle
- Action:Set angle, Action:Rotate clockwise, Action:Rotate counter-clockwise, Action:Rotate toward angle, Action:Rotate toward position, Action:Set angle toward position, Action:Set angle toward position
- Action:Set visible, Action:Set opacity