Working with button

Normal, I want my button value is false. When I pressing my button, value = true, when i release my button, value=false.
Help me. Thank.

Welcome to forum.
The thing called "momentary button" and it discussed here in forum many times. Do search with those keywords.