how can I do this?
delayedcall(1, tween(plugin[demo].y,get(plugin[demo].height + height)));
how can I do this? height + height (Solved)
-
-
https://krpano.com/docu/actions/#add
You can't simply use opperators like that. You need to either do it in pure JS, or use the math functions like add, which you can find in the documentation.
-
Thank you
-
if someone finds it useful .
delayedcall(1,
set(val, get(plugin[demo].height));
add(val, get(plugin[demo].height));
trace(val);
tween(plugin[demo].y,get(val))); -
delayedcall(1,
mul(val, get(plugin[demo].height),2);
tween(plugin[demo].y,get(val));
); -
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!