Image marker get

i am using Three.js and using the example,
i Want to create 12 marker,
using for loop, to create those

imageTracker.onNewAnchor.bind(anchor => {
    console.log("New anchor has appeared:",;

however it always return = 0,

but if i dont use for loop, and hardcoded, it can show id 1,2,3 so on,
Do you think what happen?

Hi @zapw,

I’m not 100% sure I understand what you’re trying to do here, if possible could you let us know some more information and the use case? We might be able to point you in the right direction.


1 Like