I have an event sheet function that change an object animation:
function(X,Y){
event:
Object.PosX = X;
Object.PosY = Y;
action:
set animation to "Clicked";
}
While im trigger it with "On object clicked", with sending arguments of Object's X and Y - everithing work as intended.
While im trigger it with "On any click", with setting arguments manually - everything work as intended.
While im trigger it from "On start of layout" event - it doesnt work.