Plugin : UID to Properties
Author:Rex.Rainbow
- Get/set properties (x,y,angle,opacity,private variable) by UID without picking first.
Download
Actions
Angle
Action:Set angle
- Set the angle the object is oriented at.
- UID ( number ) : Instance UID.
- Angle ( number ) : New object angle, in degrees.
Action:Rotate clockwise
- Rotate the object's angle clockwise by a number of degrees.
- UID ( number ) : Instance UID.
- Degrees ( number ) : Number of degrees to rotate the object clockwise.
Action:Rotate counter-clockwise
- Rotate the object's angle counter-clockwise by a number of degrees.
- UID ( number ) : Instance UID.
- Degrees ( number ) : Number of degrees to rotate the object counter-clockwise.
Action:Rotate toward angle
- Rotate the object towards another angle.
- UID ( number ) : Instance UID.
- Degrees ( number ) : Number of degrees to rotate towards the target angle.
- Angle ( number ) : Angle, in degrees, to rotate towards.
Action:Rotate toward position
- Rotate the object towards a position.
- UID ( number ) : Instance UID.
- Degrees ( number ) : Number of degrees to rotate towards the target position.
- X ( number ) : X position to rotate toward.
- Y ( number ) : Y position to rotate toward.
Action:Set angle toward position
- Set the object's angle towards a position.
- UID ( number ) : Instance UID.
- X ( number ) : X position to rotate toward.
- Y ( number ) : Y position to rotate toward.
Appear
Action:Set visible
- Set whether the object is hidden or shown.
- UID ( number ) : Instance UID.
- Visible ( number ) : Choose the object visible, from 0 (transparent) to 100 (opaque).
Action:Set opacity
- Set how transparent the object appears.
- UID ( number ) : Instance UID.
- Opacity ( number ) : Choose the object opacity, from 0 (transparent) to 100 (opaque).
Destroy
Action:Destroy instance
- Destroy instance.
- UID ( number ) : Instance UID.
Position
Action:Set X
- Set the object's X co-ordinate.
- UID ( number ) : Instance UID.
- X ( number ) : New X co-ordinate, in pixels.
Action:Set Y
- Set the object's Y co-ordinate.
- UID ( number ) : Instance UID.
- Y ( number ) : New Y co-ordinate, in pixels.
Action:Set position
- Set the object's X and Y co-ordinates at the same time.
- UID ( number ) : Instance UID.
- X ( number ) : New X co-ordinate, in pixels.
- Y ( number ) : New Y co-ordinate, in pixels.
Action:Set position to another object
- Position object relative to another object.
- UID ( number ) : Instance UID.
- UIDB ( number ) : Object to position by.
- Image point (optional) ( number or string ) : The name or number of an image point in the object to position by. Leave 0 for object's origin.
Action:Move forward
- Move object forwards a number of pixels at its current angle.
- UID ( number ) : Instance UID.
- Distance ( number ) : Distance, in pixels, to move the object forwards at its current angle.
Action:Move at angle
- Move object a number of pixels at a given angle.
- UID ( number ) : Instance UID.
- Angle ( number ) : Angle, in degrees, at which to move the object.
- Distance ( number ) : Distance, in pixels, to move the object forwards at its current angle.
Private variable
Action:Define alias
- Define an alias of private variable.
- Alias ( string ) : An alias to identify this private variable.
- Object ( object ) : Object type.
- Instance variable ( instance variable ) : Choose the instance variable in the above object.
Size
Action:Set width
- Set the object's width.
- UID ( number ) : Instance UID.
- Width ( number ) : New object width, in pixels.
Action:Set height
- Set the object's height.
- UID ( number ) : Instance UID.
- Height ( number ) : New object height, in pixels.
Action:Set size
- Set the object's width and height at the same time.
- UID ( number ) : Instance UID.
- Width ( number ) : New object width, in pixels.
- Height ( number ) : New object height, in pixels.
Expressions
Angle
Expression:Angle
- Get instance's angle.
- UID ( number ) : The UID of instance.
Expression:AngleTo
- Get angle of 2 instances.
- A ( number ) : The UID of instance A.
- B ( number ) : The UID of instance B.
Appear
Expression:Opacity
- Get instance's opacity.
- UID ( number ) : The UID of instance.
Expression:Visible
- Get instance's visible.
- UID ( number ) : The UID of instance.
Distance
Expression:DistanceTo
- Get distance of 2 instances.
- A ( number ) : The UID of instance A.
- B ( number ) : The UID of instance B.
Image point
Expression:ImgptX
- Get instance's image point X.
- UID ( number ) : The UID of instance.
- ImagePoint ( number or string ) : Name or number of image point to get.
Expression:ImgptY
- Get instance's image point Y.
- UID ( number ) : The UID of instance.
- ImagePoint ( number or string ) : Name or number of image point to get.
Position
Expression:X
- Get instance's position X.
- UID ( number ) : The UID of instance.
Expression:Y
- Get instance's position Y.
- UID ( number ) : The UID of instance.
Private variable
Expression:PV
- Get value of private variable by alias.
- UID ( number ) : The UID of instance.
- Alias ( string ) : An alias to identify this private variable.
Size
Expression:Width
- Get instance's width.
- UID ( number ) : The UID of instance.
Expression:Height
- Get instance's height.
- UID ( number ) : The UID of instance.