Buttons created in code not visible in viewport

For some purpose I have created buttons in code instead of using the editor but I cannot get them visible in the viewport. Do I have to do additional coding?

You need to InsertFront them into something on the screen. There are also other things that may cause button not visible, but personally for me it’s the thing that I always forget.

1 Like

Yes, that did it. :slightly_smiling_face:
I had it in the list but with a wrong insert. So your reply made me look at this again and correct it.
Thanks Eugene.