Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

How to self target in clash of clones? Javascript

hello, im at clash of clones and was wondering how can i target my clone? im using amara
ty :slight_smile:

I think it was Hero Placeholder 1… I’m not sure though.

edit: it was hero.findByType(“ninja”)[0] Thanks @AnSeDra!

1 Like

You can have the enemy hero with this:
hero.findByType(“ninja”)[0]

Andrei

2 Likes