Simulate mouse selection area

Hi fellow Hypians,

I have a short question:

I would love to mimic selecting a part of the screen with a mouse (only in horizontal direction), how do I do that.

  1. when you click the mouse I would like a line or very thin rectangle to appear
  2. when you drag the mouse right or left, the right side of the rectangle will follow the mouse's horizontal movement
  3. when you release the mouse you have mimicked a selection (and have rectangular box).

Any idea how to approach this?

marker.hype.zip (11,6 KB)

so you can use a hidden hypeelement ... will not work for any HypeDocSetup though ...

3 Likes

wow! thanks will try this!