nightmare3519 Posted September 22, 2013 Share Posted September 22, 2013 (edited) Edited September 2, 2014 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
xarax Posted September 22, 2013 Share Posted September 22, 2013 (edited) image nesnesinin koordinatları ve ebatları belli. X=100 Y=100 diyelim Width = 300 Height=300 olsun. Buton boyutları da Width= 100, Height= 30 olsun tBpos = Button.GetPos("Button1") komutu ile butonun koordinatlarını alacaksın sonra butonun konumunu kontrol ettireceksin. if tBpos.X >400 or tBpos.Y>400 or tBpos.X+100 < 100 or tBpos.Y+30 <100 then --Buton resime değmiyor. else --Buton resme değiyor. end Örnek Edited September 22, 2013 by xarax Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.