KevinC Posted July 11, 2017 Share Posted July 11, 2017 (edited) I do button change rectangle but rectangle screen left top I do button change rectangle but rectangle screen left top For Example : function button() window = guiCreateWindow(269, 359, 602, 361, "", false) button = guiCreateButton(36, 39, 116, 47, "", false, window) bw, bh = guiGetSize ( button, false ) bx, by = guiGetPosition (button, false ) setAlpha(button, 0) end function dx() dxDrawRectangle(bx,by,bw,bh,tocolor(0,0,0,120)) end Edited July 11, 2017 by KevinC add Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now