I am making a game where a random pixel in a 100 x 100 image will be the winning pixel.
The user would click on the image and if the pixel is the winning pixel, they get a prize.
Is there a way with Bubble to get the location of the user’s mouse within the image when they clicked (i.e. can I have an event that returns the pixel within the image that the user clicked)?
You could definitely do this with custom JavaScript that then [auto-fills an input field || generates a string || whatever method you prefer to store the x-y coords] After this you tell Bubble to read the coords in a workflow which checks if the coords match. The one downside I see is someone programatically clicking every pixel and cheating the system. Maybe you can check user IP address and add a time buffer between clicks…?