# Questions about MagicLeap Plugin

**URL:** <https://forum.magicleap.cloud/t/questions-about-magicleap-plugin/3174>\
**Category:** General\
**Tags:** development, unreal\
**Created:** [February 13, 2024, 9:01am UTC](https://forum.magicleap.cloud/t/questions-about-magicleap-plugin/3174 "2024-02-13T09:01:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjinsu](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@bjinsu](https://forum.magicleap.cloud/u/bjinsu)\
**Post date:** [February 13, 2024, 9:01am UTC](https://forum.magicleap.cloud/t/questions-about-magicleap-plugin/3174/1 "2024-02-13T09:01:40Z")

</div>

Hello, I am developing a Magic Leap 2 app with Unreal.

I have three questions.

First, when using the Magic Leap controller plug-in, both hands are not recognized, but only one hand is recognized. However, if I only use the openxr plugin, tracking is possible for both hands. Is it limited to just one?

Second, I would like to know how to use the hand interaction plugin. I wanted to trigger an event using enhanced input, but failed. There is only a getter function for hand interaction in the plugin. Is there anything I need to configure separately?

Third, I'm curious if there is a way to access the device's camera during remote rendering. Currently I am building the app and running it on Magic Leap 2. So it's a bit inconvenient to develop. If there is any way, please let me know.

---

<div class="post-metadata">

**Author:** ![bjinsu](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@bjinsu](https://forum.magicleap.cloud/u/bjinsu)\
**Post date:** [February 14, 2024, 1:28am UTC](https://forum.magicleap.cloud/t/questions-about-magicleap-plugin/3174/2 "2024-02-14T01:28:50Z")

</div>

Additionally, when executing the GetInteractionPose function provided by the Magic Leap hand interaction plugin, ActionStateIndex is nullptr.

Is there any prerequisite work needed to add values ​​to ActionStateIndexesByInteraction?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/f/f4ac6d63da363aec395d3a6e9aa9155e7dfc80d3.png)

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [February 15, 2024, 11:03pm UTC](https://forum.magicleap.cloud/t/questions-about-magicleap-plugin/3174/3 "2024-02-15T23:03:41Z")

</div>

> [@bjinsu](#):
>
> Third, I'm curious if there is a way to access the device's camera during remote rendering. Currently I am building the app and running it on Magic Leap 2. So it's a bit inconvenient to develop. If there is any way, please let me know.

It is not possible to access the device's camera data during remote rendering.

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [February 16, 2024, 9:52pm UTC](https://forum.magicleap.cloud/t/questions-about-magicleap-plugin/3174/6 "2024-02-16T21:52:59Z")

</div>

> [@bjinsu](#):
>
> First, when using the Magic Leap controller plug-in, both hands are not recognized, but only one hand is recognized. However, if I only use the openxr plugin, tracking is possible for both hands. Is it limited to just one?

Controller takes precedence over hand. This is a system decision.

> [@bjinsu](#):
>
> Second, I would like to know how to use the hand interaction plugin. I wanted to trigger an event using enhanced input, but failed. There is only a getter function for hand interaction in the plugin. Is there anything I need to configure separately?

The hand interactions are not bound to input keys, they do need to be queried.

> [@bjinsu](#):
>
> Additionally, when executing the GetInteractionPose function provided by the Magic Leap hand interaction plugin, ActionStateIndex is nullptr.
> 
> Is there any prerequisite work needed to add values ​​to ActionStateIndexesByInteraction?

Did you configure the interactions that you want in the plugin's editor panel?

Let me know if you have any further questions.

Best,

El
