Tween alpha problem in 1.20

  • Hello,
    recently I've updated one tour from 1.16.6 to 1.20 and I've found that this script doesn't work properly anymore.
    The hotspot doesn't fade out.

    Code
    tween(hotspot[%1].alpha, 0.0, 0.5, default);
    tween(hotspot[%1].rotate, %6, 0.5, default);
    tween(hotspot[%1].ath, %4, 0.5, default);
    tween(hotspot[%1].atv, %5, 0.5, default, WAIT);

    I have to change it to

    Code
    tween(hotspot[%1].rotate, %6, 0.5, default);
    tween(hotspot[%1].ath, %4, 0.5, default);
    tween(hotspot[%1].atv, %5, 0.5, default, WAIT);
    tween(hotspot[%1].alpha, 0.0, 0.5, default);

    But then the hotspot fades out when it stops moving.
    I want it to begin to fade out just after the click.

    Is it possible to fix it?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!