[Script] Displacement

I built a small displacement script for tile randomization that randomly moves about pixels as per given probabilities. Posting in case it happens to be useful for anybody else.

There was one small problem. I tried to get the dialog to close with dialog:close{} at the end of the displacement to close the dialog, but it did nothing? Cancel without callback on the other hand works fine for closing the dialog. Maybe somebody might know the reason?

Thank you.

1 Like