Read the documentation carefully:
Returns you element by its internal ID.
This is not the same as the id
attribute on the element. The id expected by Paper.getById()
is Element.id
You probably want var getCircle = paper.getById(circle.id);
which is just a reference to the same object as circle
anyway.