Controlling a joystick in a nested artboard from outside of the nested artboard bounds, and while...

I have a nested artboard of some characters that need to react to a joystick that follows the cursor (have them look left, down, etc.). I am using a nested artboard because i want the characters to be a part of layout system (it doesn’t work when i just use the group with the design inside a layout).

The joystick works fine and reacts to the cursor when it’s moving withing the nested artboard bounds. but i need it to react to the cursor also if it’s within the main artboard and not the nested artboard.

I know of the calculations that are used in java script to “convert” the curser data as if it was in the canvas bounds, but it doesn’t apply here since i don’t have any data about the nested artboard when it’s changes size and position due to the layout system responsiveness (or i don’t know where to find it…).

does anyone have a solution? i’m attaching the rev file. there is no character rig yet, just a joystick and the sphere indicating it.

I am willing to change the layout’s behavior if it will help (right now the nested artboard is leaf mode / fit height.

Thanks!

joystick.mp4video_download_form.rev