Start a new topic

Switch to another Html.Drawable after click on a button

Hi everyone, 


I am new in Wikitude. 


So I load one HtmlDrawable when we track my target and I want to switch to another HtmlDrawable by clicking on a button.


It's possible using Wikitude?


Thanks a lot. 


Best Regards

1 Comment

Hi Andre,


Yes it is possible. You need to create another HTMLDrawable that you will associate with the click event and add it to the drawables: { cam: [ ] } array while in the same time, you will remove the previous HTMLDrawable.


Thanks

Eva

Login or Signup to post a comment