I'm currious why it's not working the following codes :(
Only tween(hotspot[%1].alpha, 0.1, 2); is working.
any idea why it is??
Code
if(hotspot[%1],
set(hs, hotspot[%1]);
);
tween(hs.alpha, 0.1, 2);
OR
if(hotspot[%1],
copy(hs, hotspot[%1]);
);
tween(hs.alpha, 0.1, 2);
Display More
I think it could be relative to Global, Local variable concepts.
The variable, hs, is used in other action.
If I set hs usage limited in a certain action, it's enough to set its scope is local?
Please help me understand. Thank you for your explanation.