How do I drawCirlce on map?

I found this:

Bitmap.prototype.drawCircle = function(x, y, radius, color)How do I draw circles on the map?
You'll need to add the bitmap to a sprite and that sprite to the active scene, like this:

Code:
var bitmap = new Bitmap(100, 100);bitmap.drawCircle(50, 50, 50, 'red');SceneManager._scene.addChild(new Sprite(bitmap));
You the man. I don't care what the other guys say about you.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-drawcirlce-on-map.53180/