Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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 need to get an output graphics which does not show mouse cursor over itself. I didn't find a corresponding value in MouseAppearance documentation and ended up with

MouseAppearance[Graphics@Circle[{0, 0}], Graphics[{Opacity[0.01], Point[{0, 0}]}]]

Is there a right way of doing this?

share|improve this question
up vote 7 down vote accepted

You have the right way w.r.t function syntax if that is what you mean. A more concise way would be an empty string:

MouseAppearance[Graphics@Circle[{0, 0}], ""]

If that doesn't work on Windows try

MouseAppearance[Graphics@Circle[{0, 0}], Spacer[0]]

(BTW for fun try this modified example from the docs:

cur = Graphics[{Red, Polygon[{{0, 0}, {1, 0}, {.5, 1}}], 
   Polygon[{{0, 3}, {1, 3}, {.5, 2}}], Dashing[Small], 
   Line[{{.5, 1}, {.5, 2}}]}, ImageSize -> Large];

MouseAppearance[Style["Select this text.", 36], cur, {.5, 1.5}]

Evaluate this at the bottom of a notebook and what you should see is that the graphic goes outside of the notebook.)


John Fultz has just posted an undocumented mouse appearance "Obscure" that does what you need

MouseAppearance[Graphics@Circle[{0, 0}], "Obscure"]
share|improve this answer
Thank you Mike, but on my v. 8.0.4 and WinXP your code produces a black square cursor... Am I the only one? – faleichik Jan 9 '13 at 10:33
@faleichik I am on Mac. Try Spacer[0] in place of the empty string. – Mike Honeychurch Jan 9 '13 at 11:51
No luck. The same black square... – faleichik Jan 9 '13 at 13:56
@faleichik that looks like a bug to me. Could you post a screen grab -- maybe add it to your question to show what isn't currently working in Windows. – Mike Honeychurch Jan 9 '13 at 20:23

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.