Babylon.js icon indicating copy to clipboard operation
Babylon.js copied to clipboard

Make `Sound.currentTime` property writable

Open docEdub opened this issue 2 years ago • 0 comments

The Sound.currentTime property is currently read-only. Setting the current time can only be done in the play function right now. See https://doc.babylonjs.com/typedoc/classes/BABYLON.Sound#play.

This is non-obvious, and users are having hard time figuring it out on their own. Example: https://forum.babylonjs.com/t/audio-seek-functionality-missing/36532.

We should make Sound.currentTime writable to make this more discoverable for people.

docEdub avatar Dec 13 '22 19:12 docEdub