Icon button not working when added to current shapespark version


@ wojtekwhy the button does not work when added to shapepark. This button is used to move in ipad or phone, is there any way to integrate this button like previous shapespark versions. The current shapespark version, this button does not work, please help the manufacturer, I am fixing the check back on the file from the customer request but the button does not work when exporting the bundle.
here is the code of that button, it used to work fine but now it doesn’t:

   <script src="https://cdn.jsdelivr.net/gh/Shinichi-Marumoto/shapespark-controller/shapespark-controller.js" type="text/javascript"></script>

   <script src="shapespark-controller.js"></script>

thank you very much!

I really hope the manufacturer can help me fix or advise on how to solve this problem. The project is on hold and the customer is waiting for an answer. I am waiting for an answer. Thank you very much!

Hi, could you give us a link to the scene or maybe send it to us in a .zip file?
Without it (especially without access to shapespark-controller.js) it would be hard for us to help with this problem.

I have sent the project to your team, thank you very much!

Btw. can you make a screenshot of the console in your web browser and post it here?
There should be some errors visible.


thanks you!

Have you tried using the joystick mode (by adding ?joystick=true at the end of script src argument):

  <script src="https://cdn.jsdelivr.net/gh/Shinichi-Marumoto/shapespark-controller/shapespark-controller.js?joystick=true" type="text/javascript"></script>

For me with this option the button works.

1 Like

@ krzysztof Thank you very much, the move button is working. If now the customer wants to add 2 icons to display on both sides and have the function when pressed to move along the Z axis, similar to the Q and E keys, is that possible? manufacturer please help the , thank team very much!

We as Shapespark are not the authors of shapespark-controller extension. If you would like to improve it even more by adding another button you would have to do it yourself or maybe ask the author (Shinichi Marumoto) for help.

This extension is available on github:

Best regards!

1 Like

krzysztof Thank you very much!