added brick opacity. made finding mouse/brick intersection into separate function