Widgets and LeapMotion

Hi! So I’ve been working with LeapMotion and I was trying to play a video by pressing a widget button but I got no succes on it. I’m a potato programming so if anyone can help doing this thingy I’d be sooo grateful :,)

Hello nabomariner! How are you?

I’ll be glad to help you but first I need more info about your problem:

  1. Is the widget already working with LeapMotion? Does it detect the gestures?

  2. Which kind of video are you trying to reproduce?

  3. Are you using C++ or Blueprints?

  4. What’s the logic you are using to play the video when interacting with the button?

Please feel free to share any info you consider useful for me to help you!

I’ll be waiting for your answer! :smiley:

Hey thank you so much for helping!

  1. the widget does not work for now i’ve tried to make it work with a cube and it doesnt work at all

ok so this screenshot is what i’ve been trying with the cube, thanks to chatgpt, but the line trace doesnt detect the cube that is inside the BP, maybe it shouldnt be there? idk

  1. the videoS are mp4 but just planes, what i’ve been trying is setting the visibility when the hand does the pinch but this gesture does this action whenever the hand pinches not when the hand is pinching the cube, idk im explaning myself like ■■■ im srry

  2. I’ve been working with blueprints and i barely understand it.

  3. the logic it would be: 6 buttons that you can “click” or pinch (even tho the original interaction is with a palm rotation but thats too much for me), this video shows up and when it ends, it goes back where the botton was and the same thing with the other bottons.

im sry if anything doesnt make sense and thankyou again for respond.

Leapmoion comes with software that simulates a mouse function. Once set up, it can be used without having to do it separately in the UE.

i didnt know that! i have to use unreal so i cant do what you are mentioning i’ll try it in the future tho, thanks!