How do I make objects fade away?

Materials can only access parameters from Blueprints: you can’t program a button press directly in the material editor. But you do have sine waves and basic math functions, along with access to textures if you just want something to glow.