Grandchild becoming my dependant

I became the guardian to my granddaughter in 2024. My daughter said I can claim her for 2024. Is this true?