How to have event happen after sound has finished

Not at my computer right now but maybe there is a way to get the sound and query it’s length? Then set that into a variable and plug that into a delay