Image as button
-
Using the m5stack core2, uiflow, and blockly. Am I missing some obvious way to use an image as a button on the touch screen? I can't find a way to assign an image to a button, nor can I find a way to assign some sort of listener to the image.
Is my only option to get screen coordinates of a touch? That seems like a handful.
-
Hello @jjshoe
have you tried to put a button behind a picture? Use the
layervalue to hide the button behind the picture. Works for me.Thanks
Felix -
This works great, thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login