Origin of a shape

Hey,

I have an issue with origin of shapes (rectangles, images, etc…)

I have the following line

local explosion = display.newImage(“laserGreenShot.png”)

And this is what I get

As you can see, it starts over with a minus offset.

Same goes for any shape.

Any idea on how I can fix it?

Thanks,
Assaf

Hi @Assaf,

That appears correct: the image is appearing at 0,0 which is the default until you specify otherwise.

Take care,

Brent

Hi @Assaf,

That appears correct: the image is appearing at 0,0 which is the default until you specify otherwise.

Take care,

Brent