Neymar was introduced at the start of the second half for his first bit of action since sustaining an ankle injury in February.
Well, the 26-year-old recovered ahead of time to join Brazil's squad in the pre-World Cup preparatory games.
Brazil coach Tite hailed the match-winning return of Neymar on Sunday, but insisted his side are more than a one-man team as they go in search of a sixth World Cup title.
After Croatia, Brazil face Austria in their final pre-World Cup friendly before taking on Switzerland, Costa Rica and Serbia in Group C in Russian Federation.
And Neymar needed just 23 minutes to prove how important he is to Brazil's hopes of a sixth world title.
Neymar ran behind the goal, in front of Anfield's legendary Kop end, and punched the air in delight as he was mobbed by team-mates.
'I wasn't gonna get an Emmy anyway': John Goodman on Roseanne controversy
Trump wrote that CEO Bob Iger never call him to apologize for "the disgusting statements " that have been said about him on ABC. Maybe I just didn't get the call?" "This is a person who, left to her own devices, is not totally in control", Harbert said.
Neymar returned from injury to score in Brazil's 2-0 win 99 days after he had got injuredp laying for Paris Saint-Germain.
Brazil captain and No. 9 Gabriel Jesus was replaced by Firmino after an hour.
Operating a high defensive press to try and stop Brazil at the first opportunity, Modric pushed further forward off the ball coming in line with Andrej Kramaric to form a two-man defensive attack.
Brazil, in their first visit to Merseyside since 1995, started on the front foot but nearly fell behind 14 minutes in when Liverpool's Dejan Lovren headed a corner inches wide.
The Brazilians enjoyed most of the possession in the early stages but Croatia had the first chance after 13 minutes, but Dejan Lovren headed wide of the mark.