Mesh point positions aren’t in layout coordinates, they are relative to the object’s quad. So 0,0 is the top left corner and 1,1 is the bottom right. You’ll have to convert it over. So say you want to use x,y as a position you’d need to do:
X=(x-self.x)/self.width
Y=(y-self.y)/self.height
Texture coordinates are similar.