Disable mouse click till Avatar finish its instructions
I want to user of my interface will only able to click on object shown by avatar only after avatar finish speaking. How its possible?
As user sometime click the target while avatar speaking which causes my code to stop work. Please Help. |
Use the viztask.runAction command to run an action (e.g. speak action) and wait for it to finish. Before running the action you can disable the mouse and after it completes you can enable the mouse. Can you describe further what you mean by clicking on an object?
|
Clicking Object means avatar give two options to children and children has to click on right option. But children usually click on the option before avatar finish command. I want to disable mouse at that time. How it is possible?
|
You could hide the visibility of the mouse cursor using the setVisible command. Or you could disable the GUI objects you don't want clicked.
|
Is it possible to disable mouse function for some time rather than hiding visibility of mouse?
|
All times are GMT -7. The time now is 04:38 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC