Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a circle-like path in Sketch. How can I now see if it's really a circle (i.e it was created with the Oval tool) or if it's just a path with the shape of a circle. They look the same and all the settings are the same, but when I export them to an SVG file the circle will be translated to a circle-tag and the path will be translated to a path-tag, which is a great difference.

Is there a way to differentiate them at all?

share|improve this question
just a tip.....while you make a circle with oval shift and will come perfect circle... hope it helps :) – Aby May 5 '14 at 6:08
I knew that already, but thanks anyway. ;-) – adius May 6 '14 at 7:20
up vote 2 down vote accepted

You can do that easily via a plugin that checks what selectedLayer.layers().objectAtIndex(0).className() looks like.

Just copy and paste the following into the Plugins › Custom Plugin window, hit Save… and give it a nice name like Is this a circle? :)

try {
  var c = selection[0].layers().objectAtIndex(0).className()
  if(c == "MSOvalShape") {
    [doc showMessage:"Selected layer is a circle"]
  } else {
    [doc showMessage:"Selected layer is NOT a circle"]
} catch(e) {
  [doc showMessage:"Selected layer is NOT a circle"]

Hope it helps!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.