def point_to_local(self, p):
        """returns an :class:`.euclid.Vector2` converted to local space.

        Arguments:
            p (Vector2): Vector to convert.

        Returns:
            Vector2: ``p`` vector converted to local coordinates.
        """
        v = euclid.Point2(p[0], p[1])
        matrix = self.get_world_inverse()
        return matrix * v
dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py/CocosNode.point_to_local/original