Turn off Selectability of Rich Text #4598
-
Not quite sure if it is possible to turn off the selectability of Rich Text, currently using it for a Main Menu Title so I want to turn off the ability to highlight the text or interact with it in anyway. |
Beta Was this translation helpful? Give feedback.
Answered by
moonraymurray
May 31, 2024
Replies: 1 comment
-
I found out it is possible with the interaction docs, here is what I used to do this in case anyone else finds this and is wondering: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
moonraymurray
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found out it is possible with the interaction docs, here is what I used to do this in case anyone else finds this and is wondering:
ui.style_mut().interaction.selectable_labels = false;