getPosition prototype incorrect in C API documentation

The documentation for playdate->sprite->getPosition has the returned x and y values as ints, when they are floats

If you provide the address of ints the function returns garbage.

1 Like