That way I posted is the only one I am aware of. If you do find or work out another way, please share it. This kind of question has been posed before, but there’s never been an answer. So if you do work out a way, it’d be greatly welcomed as a solution. And if it is the extension way, then consider making it available through the GDevelop extensions.
This is a quote from a post from last year: