You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can anyone help me ? I am trying to find a way to create a custom category/control in ControlsMenu
But I cant find a way to do that, I used something basic like this but it adds the label but 1. is selected when opening the ControlsMenu, and 2. It is not alpha 1 because it should be "headers" element in ControlsMenu but that one is in the function new so I cant access it using a Module and lastly I cant get the y of the other labels/headers so kynda impossible to place it right in the Menu:
varcontrols=event.targetState.pages.get("controls");
if (controls!=null) {
controls.labels.add(newAtlasText(x, y, "TEST", "bold").screenCenter());
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Can anyone help me ? I am trying to find a way to create a custom category/control in ControlsMenu
But I cant find a way to do that, I used something basic like this but it adds the label but 1. is selected when opening the ControlsMenu, and 2. It is not alpha 1 because it should be "headers" element in ControlsMenu but that one is in the function new so I cant access it using a Module and lastly I cant get the y of the other labels/headers so kynda impossible to place it right in the Menu:
If anyone can help guide me I would appreciate 👍
Beta Was this translation helpful? Give feedback.
All reactions