![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | ThreeSpark |
So I want to add a link to a link button, but I don’t know how. What line(s) of code do I write, and where do I write them? Thanks!
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | ThreeSpark |
So I want to add a link to a link button, but I don’t know how. What line(s) of code do I write, and where do I write them? Thanks!
![]() |
Reply From: | kidscancode |
You can put whatever text on the button you like.
To have it open a URL on click, you need to connect the “pressed” signal, and useOS.shell_open()
to open the browser to the url.
See OS — Godot Engine (3.0) documentation in English for details.