What Is The Kode To Make A Bitmap Only Visible When Music Has Paused Or Stopped?

I Have A Music Player And I Want The Album Art Rectangle To Switch To A Second Bitmap When Music Has Been Paused Or Stopped

Can Anybody Tell Me The Visibility Kode For This?

Just do the following:

  • Add an Image object to the layer just created and pick the night image (or a shape with FX bitmap)
  • Select the "Opacity" property and switch it to "formula" mode using the calculator icon
  • Click it and enter following code $if(mi(state) = PLAYING, 100, 0)$ this will set opacity to 0 when paused or stopped
  • Done!