Trying to set UI element to "Lucida Console", Monaco, monospace font

I have tried every variation I can think of…
rect.fontFamily = ‘Lucida Console’,
rect.fontFamily = ‘monospace’,
rect.fontFamily = ‘Lucida Console, Monaco, monospace’ etc…

and still can’t get an UI element to take a monospace font, what am I doing wrong?

rect.fontFamily = ‘monospace’ should work.
https://www.babylonjs-playground.com/#0KNNS7#7
Can you share a pg?

1 Like

I guess there was a typo when I did ‘monospace’.

Thank you sorry, sometimes I ask dumb questions…