method
Audio.named
Audio.named(name: s) -> int
Looks a sound up in the bank by the name Audio.define (or Assets.enqueue) gave it.
Example
# doc-check: skip — illustrative let hit = Audio.named(name: "hit")
Audio.named(name: s) -> int
Looks a sound up in the bank by the name Audio.define (or Assets.enqueue) gave it.
# doc-check: skip — illustrative let hit = Audio.named(name: "hit")