-topic moved-
Re: Search for pixel x,y, add +20 to x - another attempt
Repair: try swapping first line with second line. untested.
Reason: no point of calculating MyVar without FIRST knowing a value for Px.
Reason: no point of calculating MyVar without FIRST knowing a value for Px.
Re: Search for pixel x,y, add +20 to x - another attempt
↑ This. At the moment you calculate it, it's 0 + 20, because Px is unknown at the time.wolf_II wrote:Repair: try swapping first line with second line. untested.
Reason: no point of calculating MyVar without FIRST knowing a value for Px.
Alternatively make a function.
Use
Code: Select all
[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.