Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Is it possible to disable the gesture until all steps finished playing? Example, after the last step (step 10) in first view done playing, the gesture automatically enable.
Or is there any other solution to prevent from user skip the first view?
Thanks
Solved! Go to Solution.
Hi,
assuming you have a 3DButton to change the view you can add an if statement to the navigate function and check if the sequence is in the last step. For example:
$scope.checkStep = function(){
if($scope.view.wdg["model-1"].currentStep == 10){
$scope.navigate("viewname");
}
}
Call the function from the click event of the button. It will only work if the current step is equal to 10.
Hi,
assuming you have a 3DButton to change the view you can add an if statement to the navigate function and check if the sequence is in the last step. For example:
$scope.checkStep = function(){
if($scope.view.wdg["model-1"].currentStep == 10){
$scope.navigate("viewname");
}
}
Call the function from the click event of the button. It will only work if the current step is equal to 10.
Thank you so much