Allow sound.play to pass index of sound, by default play first sound

I’m just flagging this again as a useful and sensible default bahaviour.

If someone does sound.play(), detect that the first parameter is undefined and just play the first sound attached - with a check to see if there is a sound there of course :slight_smile: - as this is very likely what a new, and experienced, dev would want most of the time.

1 Like