Define up to nine lines of
expressions at the Script
panel. Verify that you compute the ox and oy
variables at least once, they contain the coordinates of the new
pixel. The coordinates of the calculated pixel is stored in the x
and y values.
For example the script
makes the texture tile 2x2 on its old surface.