Play and Stop

These actions allow you to play and stop background music. Play can be used to play sound effects too. Background music will be looped by default, while sound effects will play only once.

Play

    - play music_id|sfc_id: [WITH transition_id]
      [looped: true|false]

Stop

    - stop music_id|sfc_id: [WITH transition_id]

If no transition is specified, default transition is FADE (can be changed). The only other transition available is CUT.

Examples

  - play morningBGM: WITH FADE
  - play ringtone:
  - stop morningBGM: