Visibility in Visionaire

  • #1, by marvincasteelThursday, 07. January 2021, 22:19 3 years ago
    Hey, I wanted to start an animation where a specific object fades out. I took some researches in the internet and did this like in the following picture, but it doesn't work. Where's the problem?

    Newbie

    13 Posts


  • #2, by afrlmeFriday, 08. January 2021, 00:37 3 years ago
    You have to link to the object you want to fade.

    game.CurrentScene.Objects["example"]:to(750, {Visibility = 0})

    The last 3 parameters are optional, but if you want to specify loop for example, then you also need to include the easing you want to use. By default the easing is easeLinearInOut.

    Imperator

    7278 Posts

  • #3, by marvincasteelFriday, 08. January 2021, 13:10 3 years ago
    Thanks, everything worked fine!

    Newbie

    13 Posts