mouse button/hold checks

Updated with mouse button/hold checks.