Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Wikitude SDK (Android, iOS, UWP)
Wikitude SDK Questions or Problems
trackable1.enabled in own function
J
Joerg.westarp
started a topic
over 7 years ago
trackable1.enabled in own function
1 Comment
J
Joerg.westarp
said
over 7 years ago
Hello!
I've got an problem by setting a tracker to invisible in my own function.
When I click the change button I call "clickedChange":
clickedChange: function() {
//alert("fire");
trackable1.enabled = false;
trackable2.enabled = true;
}
But I always geht the error: "trackable1 is undefined".
Even when I use "World.trackable1.enabled.
How can I set the state of the trackable in my own function?
I would be very pleased for a hint in the right direction :)
best regards
Login
or
Signup
to post a comment
More topics in
Wikitude SDK Questions or Problems
Instatiation of WTArchitectView compile errors
Point of interest - native iOS
Slider
Camera lagging / slow in native Swift application
Create a web service
N-th ImageDrawable not displayed
Radar Example
stop defaultlocationmanager and use architectview.injectlocation ios 10
WTC Size Limit
AngularJS and wikitude
See all 3869 topics
© 2021 Wikitude, a Qualcomm company
Joerg.westarp