I’m trying to make a small textbox (div block) show up next to the cursor when hovering over a 3D object in the application.
I bet there is multiple ways of solving this. I’m currently using webflow to design the HMTL interface.
I tried having the textbox always follow the cursor by using a page trigger in webflow. However the Verge3D embedded window apparently does not count as the viewport. The position of the textbox is only updated when I hover over other HTML elements.
Adding a div block in the background covering the entire viewport would solve that problem, but that would make it impossible to interact directly with the Verge3D application.
I’ve tried to use the “get event property” puzzle to get the coordinates of the cursor, but I have no idea how to use that information to update the position of the textbox.