collision(process id or TYPE process name, precision);see example
- png, svg and gif with alpha channel - precision (optional): 0 (inaccurate) to 10 (very accurate), default value 9
collision_box(process id or TYPE process name, size1, size2, debug);see example
- process id or type - size1: size of the identified process - size2: size of the calling process - debug: show collision limits, only in ide
collision_circle(process id or TYPE process name, size1, size2, debug);see example
- process id or type - size1: size of the identified process - size2: size of the calling process - debug: show collision limits, only in ide
constraint(id1, stop id1, id2, stop id2, distance, elasticity);see example
- id1: id of a process - stop id1: true or false to set the id1 process regarding the process id2 - id2: id of the second process - stop id2: true or false to set the id2 process regarding the process id1 - distance: distance between the two processes from its center point - elasticity: the higher the number will be more elastic effect, 0 = not elastic
exists(process id or TYPE process name);see example