tileCoordForPosition?

Is it possible in cocos2d-html5?

In Obj-C:
[self tileCoordForPosition:position]; // ‘self’ is a subclass of CCLayer

Tried:
this.tileCoordForPosition(position); // ‘this’ a subclass of cc.Layer
this.getTileCoordForPosition(position);

Even tried:

cc.tileCoordForPosition(position);
cc.getTileCoordForPosition(position);

None worked, and I couldn’t find anything about it in Reference.

Any help will be very, very appreciated! :slight_smile:

Thank you!

Sorry, just noticed my mistake.

tileCoordForPosition is a function created by Ray Wenderlich, I had just presumed it was a method from cc.Layer.