Explanation:

Here's our clicked method. Remember, this is the method that the TouchSensor was routed to, so whenever the user clicks, this method is called.

These types of methods always take two arguments. The first is the type referred to in the Script node above (in that case, it was SFBool). The second is always a SFTime type, which marks the time the event occurred.

However, due to a quirk in the Java implementation, these two arguments must have Const prepended to their types. In our case, we're defining a ConstSFBool and a ConstSFTime argument.