web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

on mouse over

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, is there a property such as "On Mouse over"? I want to get the following:

  1. I have an audio file in my Media (song1) and I want to play such file when the user move the mouse over an image (image1).
  2. If I have 2 audio files (song1, song2) and I have another image (image2), I want both audio files (song1, song 2) to play at the same time the user move the mouse over the image (image2).

Thanks

Omar

Categories:
  • Brian Dang Profile Picture
    3,976 on at

    I don't think there is an "OnHover" action. There are many ways to do this with clicking though--is that something you'd be interested in?

     

    And this is a stretch, but if you want to try augmented reality such that when the user moves their device's camera over a designated spot, the song(s) will play, I made this tutorial a while ago:

    https://powerusers.microsoft.com/t5/PowerApps-Forum/Pokemon-Go-game-mechanics-replicated/m-p/4068#M2030

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks Mr Dang,

     

    ON CLICKING SOLUTION

    if there is not such On Mouse Over then click in would be the option, if you could provide some hints, it would be great.

     

    ON YOUR CAN EXAMPLE

    I saw what you did with the cat ant it is great...

     

    What I am doing is a color wheel (https://goo.gl/fr9JEd) so green, red and blue are 3 diferent songs, if click on any of those colors, then the corresponding song plays. These 3 colors mix in between and then play those both songs altogether.

     

    IDEA 1: I was thinking that for my case, if I could detect where the user is looking at the screen and then play the song, some devices can detect if you are looking at the screen to keep it on.

     

    IDEA 2: what about if I use gyroscope of the device and try to emulate a bubble level (https://goo.gl/BcAYuT)

     

    sorry if above ideas are to crazy but your example inspired me.

    Thanks

    Omar

  • Verified answer
    Brian Dang Profile Picture
    3,976 on at

    I think what you may be making could be made better in Unity than PowerApps. The HoloLens has a gaze control and better compass and gyroscope sensors and you can program that right on Unity.

     

    That said, it's not impossible to do what you're thinking on PowerApps. The problem is that clickspaces in PowerApps are rectangular/square so you can't pinpoint the exact spot of the color wheel you want.

    This is what I'm thinking:

    • Place the RGB wheel in an image box in the back
    • Create a Gallery with 100 items that has a WrapCount of 10. This results in a 10x10 grid of squares. 
    • Imagine the 10x10 grid as 100 click spaces--each square is associated as either Red, Green, Blue, two colors or 3 colors. but because the wheel is a circle and the grid is not, some squares in the grid will do nothing.
    • Upon clicking a square in the grid, the appropriate song and number of songs will play as it references Gallery.Selected.
    • Increase the grid size and wrapcount for more precision of colors.

    I am not sure if custom-shaped click spaces are available. For me, PNG files with transparency still take on the clickspace of the containing image box. But perhaps this is something you can suggest in the Ideas forum.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard