'mouse is over object' not working?

For questions about using Classic.

Post » Tue Apr 12, 2011 3:13 am

Tested many conditions with mouse is over object but none worked.. using the last construct.

The object im trying to use with is a button, isn't possible?

any1 can give me a simple example using this to see it working?
B
30
S
6
G
5
Posts: 433
Reputation: 6,061

Post » Tue Apr 12, 2011 5:00 am

Windows controls such as button or editbox don't work with 'mouse over object', you can't even collide with them. A solution is to use a box object and attach it to the button and check if the mouse is over the button.
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Fri Apr 15, 2011 9:11 pm

[quote="R0J0hound":1q9y0wot]Windows controls such as button or editbox don't work with 'mouse over object', you can't even collide with them. A solution is to use a box object and attach it to the button and check if the mouse is over the button.[/quote:1q9y0wot]
yea.. I made a custom button with sprites.. ty ;)
B
30
S
6
G
5
Posts: 433
Reputation: 6,061

Post » Fri Apr 15, 2011 9:25 pm

Ahh, clever work around with a box object! Thank you for this, it saves me some questions later. :]
B
2
G
1
Posts: 14
Reputation: 478


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests