How do I have a button in the inspector like this?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Modley

So I wanted to try out Godot 3.6 for the first time (I didn’t knew betas started until yesterday x)) and so far, it’s been great! I really like the update, although there’s something I stumbled upon and wanted to know if it’s possible to do the same: (I couldn’t get the image, so have this instead)

So basically what I mean is that when oppening a PackedScene (or just scene if you want) in the Inspector, there’s a little button with the text “Open Scene” or something like that, and it opens the packed scene when you click on it, and I want to have something similar! Like calling a function from a tool script when the button is pressed or something. Is it possible?