ID:159592
 
Is there a way to check if you clicked a skin control? I tried something like:

client
Click(object,location,control,params)
if(control == "Main.Start")
world<<"Test"// to test
..()


but it does not work. I tried using the other arguments too. The skin control by the way is a label. I don't want to use buttons for this because I don't want the button look (as in when you click on it), and I also want to align the text and scale images, which buttons cannot do.
Click() isn't called when you click a label, your only options are either grids with objects in them, or buttons.
The only thing remotely similar to that would be a button element's is-checked parameter for when it's a radio/pushbutton. o.O
In response to Spunky_Girl
A label cannot be a button.
In response to Jeff8500
Sorry, I meant button element.