Sets the position of this particle to the given x/y coordinates.
If the parameters are left undefined, it resets the particle back to 0x0.
name | type | arguments | description |
---|---|---|---|
x | number | <optional> |
The x coordinate to set this Particle to. |
y | number | <optional> |
The y coordinate to set this Particle to. |