Change transparency on the object (Eaten food effect)

Last updated: February 10, 2025

Perfect example for creating a food eaten effect!

  1. Add a name to your script!

  1. Open the Code Builder by pressing </>.

  1. Find the "Events" (Yellow circle) on the Menu on the left. Find the "When touched by a player every _ seconds" Change seconds to - 1.

  1. Find the "Looks" (Purple circle) on the Menu on the left. Find the "Change transparency to 0.5".

You can change Transparency to any amount you want, where 1 is fully transparent and 0.5 is partially!
  1. Connect them together.

  1. Save your script!

  1. Close the script and save again!

  1. Play your game and enjoy the result!

Was this article helpful?

Thanks for your feedback!