Is it related to this?
Do you have a script example on how to do this that you could share?