====== Differences ====== This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
script_change_home_page [2014/04/25 12:37] trianguloy created |
script_change_home_page [2015/07/09 08:38] trianguloy |
||
---|---|---|---|
Line 17: | Line 17: | ||
====== Script code ====== | ====== Script code ====== | ||
- | <code> | + | <sxh javascript> |
var cont = LL.getEvent().getContainer(); | var cont = LL.getEvent().getContainer(); | ||
Line 58: | Line 58: | ||
} | } | ||
- | cont.setPosition(cont.getPositionX() - moveX * distX,cont.getPositionY() - moveY * distY,cont.getPositionScale(),false);? | + | cont.setPosition(cont.getPositionX() - moveX * distX,cont.getPositionY() - moveY * distY,cont.getPositionScale(),false); |
- | </code> | + | </sxh> |