Question - Painting App

Hi,
I'm making a second version of my painting app. I have decided to add a label that says which colour is in use. I've put an "AnyButton.Click" Event. I made a variable "colours" that it's a list with all the colors I putted in the painting app. There is a problem though, I don't know how I can make it identify which button is pressed, to show which colour is selected.

painting_v2.aia (4,6 KB)

1 Like

Use the any button background colour block to return the colour?

image

2 Likes

This aia of mine has what you need, including many extra things. Currently, the ImagePicker causes problems because some phones rotate the images with the rotation angles saved.

Paint.aia (263.1 KB)

1 Like

I tried that but the output is some random numbers on the companion. Thank you for answering at least!

Ok! I will download the .aia and I'll see the code! Thank you!

These are not random, these are colour numbers....

ANDROID and HTML Colour Codes

ohhhhhhhhhh thank you

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.