Question: Q1) Whilst the mouse is moving: - Make HiddenStoreVal_a equal to the value of mouseY - Use the 'max' function to prevent HiddenStoreVal_a from falling

Q1) Whilst the mouse is moving: - Make HiddenStoreVal_a equal to the value of mouseY - Use the 'max' function to prevent HiddenStoreVal_a from falling below 3

ii) Whilst the mouse is moving: - Increment HiddenStoreVal_b by 2 - Use the 'constrain' function to prevent HiddenStoreVal_b from falling below 2 and going above 10

iii) When any key is released: - Increment HiddenStoreVal_d by 3 - Use the 'constrain' function to prevent HiddenStoreVal_d from falling below 2 and going above 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!