Good to know, thought it was spelled differently <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">
Your solution seems pretty obvious.
Though how should I calculate the variable of the distance containing both X and Y coordinates?
Maybe, I wasn't clear enough:
I don't want the cue to follow the mouse. Assuming the cue is at angle 0 for example, in that case I would want it to just follow the x movement of the mouse.
If the cue was at 90 degrees, just the Y movement.
And at 45 degrees for example, a combination of X and Y.
This combination is what bugs me.
Since I'm no native English speaker, my intentions may not seem too obvious. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">
Maybe this is easier to understand:
When the mouse button is down, I want the cue to follow the mouse, but at the same time, the cue should be restricted to only move on a line having the current cue's angle.
(As if it had the drag and drop behaviour and there were walls parallel to the cue)
Could also be possible that I misunderstood your solution.
I uploaded my .capx here: https://www.dropbox.com/s/aemopym3697i7 ... .capx?dl=1
Maybe you can just download it, edit it and upload the working result so that I can understand your solution. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
(all the disabled events are what I tried to geet it to work)