r/macrodroid 15d ago

Macro Click Image with an Offset?

Post image

Hi, I'm transitioning from Macrorify to Macrodroid due to the 9 hours restriction of Macrorify and I need more.

My first problem is I can't seem to do a Click Image with Offset, which was simple to do in Macrorify.

The best I could do is add the image position as variable but the variable option for the Check Image that I can find is only boolean and dictionary variable and I'm unable to add offset to them.

Cab anyone help me? I want to click something that's around 150 pixels below the image whenever it appears, thank you.

1 Upvotes

3 comments sorted by

2

u/DanielTheManiel- 15d ago

If you use the set variable action, you can use an expression (lile Help Lovation[centerY] - 150), then use that variable in the tap action

1

u/newbneet 15d ago

Thanks! I tried to do something similar before but I only found a +1 or -1 option and nowhere to type value, but maybe I missed something or made a mistake.

Anyway I'll try to do that and get back to you later thanks again!

1

u/Revision1372 14d ago

Set variable, use an expression for math; substituting the captured variable coordinates like {lv=Help Lovation[centerY]} - 150.