cant you make parts of an image clickable on MIT App Inventor 2?

815 views
Skip to first unread message

Lindi janse van rensburg

unread,
Jul 21, 2018, 10:32:38 AM7/21/18
to MIT App Inventor Forum
Hi 

I need to make parts of an image clicable to open another screen but I am struggling to create it? I laid down the picture I need clickable parts on and tried to put buttons over the clickable parts I want but the buttons doesn't want to go over the picture and also will not sit randomly on the picture it always goes to the top left corner or middle whatever you choose.

Please help
Thank you
Lindi

Ghica

unread,
Jul 21, 2018, 10:54:00 AM7/21/18
to MIT App Inventor Forum
Use a canvas component and a picture on that canvas. If you click on it, the event will tell you where the click was and you can react accordingly.
Cheers, Ghica.

TimAI2

unread,
Jul 21, 2018, 11:46:52 AM7/21/18
to MIT App Inventor Forum
Or you can put the image as the Screen background, or arrangement background, then you can overlay transparent buttons, and use labels to assist with placement

Abraham Getzler

unread,
Jul 21, 2018, 9:16:02 PM7/21/18
to MIT App Inventor Forum

I need to make parts of an image clickable to open another screen

Beware - you only get 10 screens, so reuse what you have by swapping different images
and hidden Vertical Arrangements.

See the Screens section of FAQ

ABG
 

TimAI2

unread,
Jul 22, 2018, 4:45:09 AM7/22/18
to MIT App Inventor Forum
From your private email to me (please respond to the forum so all can help / share)

How do I get labels to assist with the transparent buttons?


A couple of videos on positioning:


Reply all
Reply to author
Forward
0 new messages