Plugin : Z Sorter
Author:Juan Pablo Tarquino
- Sorts Objects in Layer By Y
Download
Properties
Y order
- Sorting order of y co-ordinate.
- Options : ["Increasing","Decreasing"]
X order
- Sorting order of x co-ordinate.
- Options : ["Increasing","Decreasing"]
Actions
Custom sorting
Action:Sort by function
- Sort z order by function.
- Layer ( layer ) : Layer name of number.
- Sorting function ( string ) : Sorting function
Custom sorting: result
Action:Set compared result by number
- Set compared result. Used in callback of "Action: Sort by function"
- Result ( number ) : Compared result. (-1) is (A < B), 0 is (A == B), 1 is (A > B)
Action:Set compared result
- Set compared result. Used in callback of "Action: Sort group by function"
- Result ( Combo ) : Compared result
Default sorting
Action:Sort all Objects in layer by Y
- Sort All Objects in Layer By Y
- Layer ( layer ) : Layer name of number.
Action:Set X order
- Set sorting order of x co-ordinate.
- X order ( Combo ) : Sorting order of x co-ordinate.
- Options : ["Increasing","Decreasing"]
Action:Set Y order
- Set sorting order of y co-ordinate.
- Y order ( Combo ) : Sorting order of y co-ordinate.
- Options : ["Increasing","Decreasing"]
Z Order
Action:Move to object
- Move the object next to another object in the Z order.
- UID A ( number ) : UID of instance A
- Place ( Combo ) : Place
- Options : ["in front","behind"]
- UID B ( number ) : UID of instance B
Expressions
Custom sorting
Expression:CmpUIDA
- Get Instance UID A of sorting function. Used in "Action: Sort by function"
Expression:CmpUIDB
- Get Instance UID B of sorting function. Used in "Action: Sort by function"
Conditions
Custom sorting: sorting function
Condition:On sorting
- Triggered when sorting by function.
- Name ( string ) : Sorting function name.