Why does the setleft error keep on appearing when using ai companion for IOS

Can someone explain and help me fix my code and get rid of the error. Here is the code blocks and files

Pencil_Clicker_v4_George_Ruise.aia (19.8 KB)

Please show the error

The only things I can see are in Screen1.Initialize:

  • Using Canvas1.Width twice instead of Canvas1.Height?

  • Depending on Canvas1 Height and Width to be stable at Screen1.Initialize - Sometimes you need to run that code a moment after Initialize, in a one shot Clock Timer, to get a good Height and Width.

The Left/Top properties are created on a component when it is added to an AbsoluteArrangement, and that component isn't yet in the iOS version (it is available if you sign up to beta test via TestFlight).