Hi, I'm new to Godot, and I was going to make a simple Visual Novel system.

What I want is a hyperlink system like the above, where you can click on a part of a dialogue, and it shows you more details like lore.

I want to know the best way to make this happen or if there is any tools already available. Thanks for the reply

use a rich text label -> bbcode enabled= on

extends RichTextLabel

func _ready():
	bbcode_text = "you can [url=link1]clik 1[/url] or [url=link2]clik 2[/url]."
	var con = connect("meta_clicked", self, "cliking")
	if con == null:
		print("null")

func cliking(link):
	match link:
		"link1": print("you cliked one")
		"link2": print("you cliked two")

@Zelta

Thanks. I had wondered why clicking on links didn't do anything, but I never bothered to look into it. :smile:

7 months later