Services Plugins FAQs

Mouse & Element Positions Issues

Hey,

I have a couple of questions that will hopefully help get my app finished.

  1. When I try to use the “Make Elements Draggable” workflow function, I cannot seem to find the ID attribute that I have included on a shape layer before. On the documentation it just shows "enable=shape1 (the element id). I don’t know how to get that… Any help would be much appreciated.



  1. Can I save the “final” x and y positions to use later on?

Thanks in advance!

Hi @r.sorrell, thanks for your questions.

To enable an element within the plugin, write the element id manually (in your case it is userupload word).

Unfortunately, the current plugin functionality doesn’t provide such a feature. The developer team will check how feasible would be to add such an event in following plugin updated.

Currently, a possible workaround is to save coordinates once per a certain period.

Example of setup



Hope the provided answers will help. If there is anything else that I can help with, please let me know.

Have a nice weekend ahead!
Regards,

1 Like

Hey Serg,

Thanks for the reply. I think you may have missed part of my previous reply. I feel I have put in the correct element ID into the box. Can you please check again and if I have made a mistake then point me in the right direction?

On the second point, if you could get it added in ASAP then that would an enormous lifesaver!

Thank you.

@r.sorrell, have you inserted the element ID here ?

1 Like

Hey,

Yeah when I enter it I can’t select anything and if I click next to it then it just goes to nothing.
Screenshot 2022-03-11 163512
See nothing is even showing here on search.
Thanks.

Hi @r.sorrell,

The word userupload which you made as an element ID, is not an option to be searched, it is a simple word that needs to be written down.

Please let me know if it works now.

Regards,

1 Like

Hey Serg, sorry to be a moron again…

I am just writing it in the box but then when click away it doesn’t stay in the box. I am not sure what I am doing wrong!

Thanks!

Ah I think I have found my error…

I didn’t need to try and remove where it said “Click”. Just that that wasn’t in your screenshot so I tried to remove it or use it.

I have just one more request, plead or beg… Now the draggable bit is working, is there anyway to resize? And if not can it be easily added or do you know anything or any way to do it?

It is the last part for my app that needs completing!

Thanks!

Hi @r.sorrell, no worries, I am glad to hear that the above-mentioned issue is solved.

If I understood right your request, you would like not only to drag an element but also to resize it.

I’m afraid that the current plugin functionality doesn’t provide such an option. A possible solution would be to use another plugin, that allows an element resizing. In this case, unfortunately, we can’t guarantee that such a combination of plugins will work properly.

If I’ve understood you wrong, please let me know and share a bit more details (for example, a use case).

Looking forward to your reply.

Regards,

Hi @r.sorrell, late but good news here :slightly_smiling_face:

We’ve upgraded our plugin with a new event that has followed your earlier request:

A new event called “Element changed position”. It triggers when the user move of the element ends unpressed left mouse button.

So after the event fires, the user can save coordinates from the state:

  1. From: Current element’s X / Y position relative to the start point

  2. From: The current position X / Y of the draggable element independence of the parent

To give it a try, please upgrade your plugin to the newest version (2.9.0: added event “Element changed position”).
If there will be any other plugin-related questions or suggestions, drop a message here :wink:

Have a nice weekend ahead!

Regards,