The role of Sharkboy is played by Taylor Lautner. However, he was not a young actor at the time; he was 12 years old when the film was released in 2005.
It is easy to see how you might confuse this, as Taylor Lautner is famous for playing Jacob Black in the "Twilight" series, a role he started playing at age 16.