Get Group from javascrip

Hi mates I have 2 Events Groups with the same name one disabled and other active there is a way to get these goups in javascript like gdjs.RuntimeScene…?

Can I ask why? What do you want to do?