Switch to another Html.Drawable after click on a button
A
André Machadi
started a topic
over 5 years ago
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
Wikitude Support
said
over 5 years ago
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.
André Machadi
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