Connections ... again

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Robster
:warning: Old Version Published before Godot 3 was released.

Hi all,

I’ve been doing some research on this but it appears the interface has changed somewhat and I also wonder if the functionality has changed. I am new at this so apologies if it seems overly obvious to some.

I have a button and on release I want to simply do some stuff. In my example, print some text to the console.

Here I click on the connect button

Then I setup as so:
Imgur

Then it creates a func for me which I edit like this:

func _on_Button_released():
	print("The button was released")

When I run the code though… nothing in the console.

I’m sure it’s something SUPER simple, but I wonder if someone wouldn’t mind pointing me in the correct direction?

Thanks so much, rob

:bust_in_silhouette: Reply From: ericdl

In the Inspector, make sure ClickOnPress in checked.

screenshot

ooooh kay! Well that was embarassing. But thank you! :slight_smile:

Also, out of interest. When I try and embed images (here in the questions forum) using the image button it doesn’t show up. Is there a trick to it?

Robster | 2016-09-02 01:29

Yeah my pic wasn’t showing up either when i tried to use the link Imgur gave me (http://imgur.com/RvQ5vob). Since the image is a png, i just added .png to the end and it worked. Your images are jpg’s, so adding .jpg should work: http://imgur.com/fwvPaIJ.jpg!enter image description here
By the way, in what program did you make the green arrows shown in your screenshot?

ericdl | 2016-09-02 01:54

Very sorry, I can’t believe I didn’t see your final question. I’m using an old version of Skitch. You can’t get it separately anymore but I’m sure there’s an old version out there. Very nice for annotations. We use it at work all the time for bugs, issues, feature requests etc.

Robster | 2016-09-19 12:12