Babylon.js
Babylon.js copied to clipboard
Make `Sound.currentTime` property writable
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.