Hittest error

i added this code but i get an error

function frameloop(evt:Event):void {
if(gadgets.hitTestPoint(character.x,character.y)){
character.rotation = -90;
}
}
this is the error that i get:

TypeError: Error #1006: hitTestPoint is not a function.
at catchgame_fla::MainTimeline/frameloop()